package com.ljf.config.enums;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ljf.common.enums.BasicEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 发号器配置表头  config_base_impulse_sender_header  刷新模式  refresh_mode  枚举
 *
 * @author LJF
 * @since 2025-01-02
 */
@Getter
@AllArgsConstructor
public enum ConfigBaseImpulseSenderHeaderRefreshModeEnum implements BasicEnum {

    YEAR(1, "按年刷新"),
    MONTH(2, "按月刷新"),
    DAY(3, "按天刷新"),
    NOT_REFRESH(99, "不刷新");

    @JsonProperty("code")
    @ApiModelProperty(value = "编码")
    private final Integer code;

    @JsonProperty("name")
    @ApiModelProperty(value = "描述")
    private final String name;

}
